# -*- coding:utf-8 -*-
# 入口文件

def the_action(the_list):

    the_list = []
    the_list = a.split(',')
    m = input("请输入要查找的对象：")
    the_index = None

    for i in the_list:
        if m == i:
           the_index = the_list.index(m)
           print (the_index)
    if the_index is None:
        print ("{}未找到".format(m))



if __name__ == '__main__':
    a = input("请输入列表，以逗号隔开：")
    the_action(a)
